projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b03789
)
Fix compilation warning: use the correct conversion specifier
author
Javier Jardón
<jjardon@gnome.org>
Mon, 21 Dec 2009 03:01:03 +0000
(
04:01
+0100)
committer
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:55:08 +0000
(20:55 -0400)
Use G_GSIZE_FORMAT instead of %i
The warning was added in
commit
ba651d4022ed4dceb6ad7394adcb0ff6c8006581
demos/testpixbuf-color.c
patch
|
blob
|
history
diff --git
a/demos/testpixbuf-color.c
b/demos/testpixbuf-color.c
index 9eb4ec5e086c0a898e6363a5eeb2b9b120e7b511..78fa93928972b88f2cdd0845a362a839961b4f51 100644
(file)
--- a/
demos/testpixbuf-color.c
+++ b/
demos/testpixbuf-color.c
@@
-84,7
+84,9
@@
save_image_verify (const gchar *filename, GError **error)
/* decode base64 */
icc_profile = (gchar *) g_base64_decode (option, &len);
if (len != ICC_PROFILE_SIZE) {
- *error = g_error_new (1, 0, "profile length invalid, got %i", len);
+ *error = g_error_new (1, 0,
+ "profile length invalid, got %" G_GSIZE_FORMAT,
+ len);
g_file_set_contents ("error.icc", icc_profile, len, NULL);
goto out;
}